package JAVACORE_TRAINING.ADVANCED.ENUMERATIONS.WithConstructorInstanceVariableAndMethod;

public class EnumDemo {

	public static void main(String[] args) {
		Apple objApple = null;
		System.out.println("Price of : "+ objApple.A.getPrice());
		System.out.println("Price of : "+ objApple.B.getPrice());
		System.out.println("Price of : "+ objApple.C.getPrice());
		System.out.println("Price of : "+ objApple.D.getPrice());
		System.out.println("Price of : "+ objApple.E.getPrice());
	}
}
